import request from '@/utils/request'

// 查询职业信息表列表
export function listCompassJobInfo(query) {
    return request({
        url: '/system/CompassJobInfo/list',
        method: 'get',
        params: query
    })
}

// 查询职业信息表详细
export function getCompassJobInfo(updateTime) {
    return request({
        url: '/system/CompassJobInfo/' + updateTime,
        method: 'get'
    })
}

// 新增职业信息表
export function addCompassJobInfo(data) {
    return request({
        url: '/system/CompassJobInfo',
        method: 'post',
        data: data
    })
}

// 修改职业信息表
export function updateCompassJobInfo(data) {
    return request({
        url: '/system/CompassJobInfo',
        method: 'put',
        data: data
    })
}

// 删除职业信息表
export function delCompassJobInfo(updateTime) {
    return request({
        url: '/system/CompassJobInfo/' + updateTime,
        method: 'delete'
    })
}

// 导出职业信息表
export function exportCompassJobInfo(query) {
    return request({
        url: '/system/CompassJobInfo/export',
        method: 'get',
        params: query
    })
}